<!DOCTYPE html>
html(lang="en")
head
    meta(charset="UTF-8")
    meta(name="viewport", content="width=device-width, initial-scale=1.0")
    meta(http-equiv="X-UA-Compatible", content="ie=edge")
    title Document
body
    textarea#code

block addScripts
  script(src="/node_modules/jquery/dist/jquery.min.js")
  script(src="/codemirror/lib/codemirror.js")
  script(src="/codemirror/addon/mode/loadmode.js")
  script(src="/codemirror/mode/meta.js")
  script(src="/javascripts/eb.js")

block addStyles
  link(href="/codemirror/lib/codemirror.css", rel="stylesheet")
  style(scoped).
    * {
        margin:0;
        padding:0;
    }
    #code,.CodeMirror {
        height:auto;
    }